import request from '@/utils/request'



// 新增公文号申请
export function createOaApplicationNumber(data){
	return request({
	  url: '/bpm/oa-application-number/create',
	  method: 'post',
	  data
	})
}


// 查询公文号发送
export function getOaApplicationNumberPage(data) {
  return request({
    url: '/bpm/oa-application-number/page',
    method: 'get',
  	data
  })
}

// 查询公文号发送详情
export function getOaApplicationNumber(id) {
  return request({
    url: `/bpm/oa-application-number/get?id=${id}`,
    method: 'get',
  })
}

// 获取当前人部门的文号列表
export function getOaApplicationNumberList(data) {
  return request({
    url: `/bpm/oa-application-number/getNum`,
    method: 'get',
	data
  })
}

